package com.pangda.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("clue_report")
@ApiModel(value="ClueReport参数对象", description="")
public class ClueReportDto implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "线索id")
    private Integer clueId;

    private String createBy;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "错误原因")
    private String falseReason;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "意向等级")
    private Integer level;

    @ApiModelProperty(value = "下次跟进时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime nextTime;

    @ApiModelProperty(value = "沟通记录")
    private String record;

    @ApiModelProperty(value = "意向学科")
    private String subject;

    private String type;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "微信")
    private String weixin;




}
